import React from 'react';
import ReactDOM from 'react-dom';
import MyComp from './components/MyComp';
import PagerTest from './components/PagerTest';
let num = 1
function handleClick(e){
  console.log('点击',e)
  num++
}
const btn = (
  <button onClick={handleClick}>
    点击{num}
  </button>
)

const btn1 = (
  <button onClick={()=>{
    console.log('点击二')
    num++
  }}
  onMouseEnter={()=>{
    console.log('移入了')
  }}
  >
    点击{num}
  </button>
)

ReactDOM.render(<PagerTest />, document.getElementById('root'));
